package com.kkb.shopcenter.api;


import com.github.pagehelper.PageInfo;
import com.kkb.shopcenter.common.pojo.GoodsAttach;
import com.kkb.shopcenter.common.pojo.GoodsInfo;
import com.kkb.shopcenter.common.pojo.GoodsQueryCondition;

import java.util.List;

public interface GoodInfoService {
    PageInfo<GoodsInfo> queryAllByCondition(GoodsQueryCondition condition);


    int deleteImageByGoodsId(Long goodsId);

    void releteImage(GoodsAttach attach);

    List<GoodsAttach> getImgs(Long goodsId);


    int updateGoods(GoodsInfo goodsInfo);
}
